<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="static/css/bootstrap.min.css" />
</head>
<body class="body">
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a class="brand" href="#">凯盛项目管理系统</a>
			</div>
		</div>
	</div>
	<br><br><br>
	
	<div class="container">
	  <div class="row">
		<div class="span9">        
          	<div class="page-header">
          		<h2>项目列表</h2>
          	</div>
          	<a href="newproject.jspx" class="btn btn-success"><i class="icon-plus icon-white"></i>开始一个新项目</a>
          	
          	<c:if test="${fn:length(projectList)==0 }">
				还没有任何项目！
			</c:if>
         
          	<c:forEach items="${projectList }" var="project">
			    <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
					<li class="active">
						<a href="project.jspx?id=${project.id }"><i class="icon-th"></i>${project.projectName }</a>
					</li>
				</ul>
				<div class="wall">
					<p>${project.projectContent }</p>
				</div>
			</c:forEach>
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>
</body>
</html>